<?php
if ($owner_id<>'') {
		$getd = mysql_query("select merchandise_sold, peddlers_business_name from
                                        $permittable where owner_id=$owner_id and active=1")
                        or die ("argh".mysql_error());
                $getn = mysql_fetch_row($getd);
                $merchandise = $getn[0];
                $peddler_bus = $getn[1];
}
?>


<link rel="stylesheet" href="stylesheets/default.css" type="text/css"/>

<form method=post  action ='index.php?part=4&class_type=Permits&itemID_=1221&addfee=Add&owner_id=<?php echo $owner_id; ?>&permit_type=<?php echo $tag; ?>&stat=<?php echo $status; ?>&create=No'>

	<input type='hidden' name='mode'>
	<table width='100%' border=0 cellpadding=1 cellspacing=1>
	  <!--// start of the owner information //-->
	  <tr> 
	    <td align="center"> </td>
	  </tr>
                                                <tr>
                                                    <td align="center" valign="top" class='normal' colspan=4>
                                                        <table cellspacing=0 cellpadding=0 border=1 width=430>
                                                                                                               
                                                                <tr>
                                                                        <td align="center" valign="top" class='header2' colspan=2>
                                                                                Stall Information
                                                                        </td>
                                                                </tr>
							</table>



	  <tr> 
	  	<td align="left" valign="top" class='normalred' colspan=4>

	</td>
	  </tr>
	  <tr> 
	    <td align="left" valign="top" class='normalbold' colspan=4></td>
	  </tr>
	  <tr> 
	    <td align="right" valign="top" class='normal' > <font color="#FF0000"> 
	      </font>Peddler's Business Name : </td>
	    <td align="left" valign="top" class='normal' >&nbsp; 
<input type='text' name='peddler_bus' maxlenght=60 class='text180' 
value="<?php echo stripslashes($peddler_bus); ?>">
	    </td>
	    <td align="right" valign="top" class='normal'> <font color="#FF0000"> </font>&nbsp </td>
	    <td align="left" valign="top" class='normal'>&nbsp; 
	  </tr>
	  <tr> 
	    <td align="right" valign="top" class='normal'> <font color="#FF0000"> </font> 
	     Merchandise Sold : </td>
	    <td align="left" valign="top" class='normal'>&nbsp; <input type='text' name='merchandise' maxlength=100 class='text180' value="<?php echo stripslashes($merchandise); ?>"> 
	    </td>
	    <td align="right" valign="top" class='normal'> <font color="#FF0000"></font> 
	      &nbsp </td>
	    <td align="left" valign="top" class='normal'>&nbsp;
	    </td>
	   </tr>
</table>	
